; LeFix Speedo v1.1.3
;Read the readme if you want more information
;Editing those values using the ingame mod menu is recommended (F10 by default)

; IMPORTANT SETTINGS!!!
;[GENERAL] gameversionGroup
;[UNITS] <all of them>

;The only thing you should change in this files is the 'value'
;-----------------------------------------------------------------------------------------
;[CAPTION]
;variableName=value;	Here starts the comment	until end of line (Default) <Valid-Range>
;-----------------------------------------------------------------------------------------

[GENERAL] 
menuKey=10;		F1-F12 Key to open the mod menu.		 (10) < 1-12>
gameversionGroup=2;   	1=(335-372), 2=(393+)				 ( 2) < 1- 2>
refreshInterval=12;	Refresh interval in ms, affects fps		 (12) < 5-50>

[UNITS]
bicUnit=1;		Bicycle		MPH(0), KMH(1)			  (1) <0-1>
boaUnit=2;		Boat/Sub	MPH(0), KMH(1), KNOTS(2)	  (2) <0-2>
carUnit=1;		Car/Motorcycle	MPH(0), KMH(1)			  (1) <0-1>
plaUnit=1;		Plane/Heli	MPH(0), KMH(1), KNOTS(2)	  (1) <0-2>
traUnit=1;		Trains		MPH(0), KMH(1)			  (1) <0-1>

[FEATURES]
isEnabledInBic=1;	Show Speedo on bicycles				  (1) <0-1>
isEnabledInBoa=1;	Show Speedo in boats				  (1) <0-1>
isEnabledInCar=1;	Show Speedo in cars/on bikes			  (1) <0-1>
isEnabledInPla=1;	Show Speedo in planes/helis			  (1) <0-1>
isEnabledInTra=1;	Show Speedo in trains				  (1) <0-1>

isRpmShown=1;		Show RPM Gauge (analogue or leds)		  (1) <0-1>
isGearShown=1;		Show Gear Indicator (anlg rpm must be enbld)	  (1) <0-1>
isDmgShown=1;		Show Damage Indicator				  (1) <0-1>
isVertShown=1;		Show Vertical Speed in plane			  (1) <0-1>

isShownInFpv=1;  	Show Speedo in FirstPersonView			  (0) <0-1>
isShownAsPassenger=0;	Show Speedo as Passenger			  (1) <0-1>

useHighSpeedo=0;	Set to 1 if a topspeed mod is installed		  (0) <0-1>
useRpmLeds=1;		Use Rpm Leds (F1 like) instead of analogue one	  (0) <0-1>
useHighSpeedos=0;	Set to 1 if a topspeed mod is installed		  (0) <0-1>

[OPTICS]
usePrimColor=0;		Use primary Color of Car			  (1) < 0-  1>
needleRed=100;		Standard needle color red			(100) < 0-100>
needleGreen=100;   	Standard needle color green			 (10) < 0-100>
needleBlue=100;		Standard needle color blue			 (10) < 0-100>
alphaFrontMax=100; 	Alpha of the HUD   in percent			 (90) <30-100>
alphaBackMax=100;  	Alpha of the Shade in percent			 (30) < 0-100>
dmgIntensity=100;  	Intensity of Damage Indicator			(100) <50-200>
dmgFrequency=100;  	Frequency of Damage Indicator			(100) <50-200>

[SPEEDFACTOR]
bicFactor=100;		Factor for the shown speed on bicycles in %	(100) <50-200>
boaFactor=100;		Factor for the shown speed on boat     in %	(100) <50-200>
carFactor=100;		Factor for the shown speed on cars     in %	(100) <50-200>
plaFactor=100;		Factor for the shown speed on planes   in %	(100) <50-200>
traFactor=100;		Factor for the shown speed on trains   in %	(100) <50-200>

[PLACEMENT]
hudSize=100;		Size of the speedo HUD in percent.		( 90) <  20- 200>
mainOffsetX=900;  	X value on screen, 0 left 1000 right		(900) <   0-1000>
mainOffsetY=840;  	Y value	on screen, 0 top  1000 bottom	 	(920) <   0-1000>
ledsOffsetX=0;  	X offset of the middle led to main hud		(  0) < +/- 1000>
ledsOffsetY=140;  	Y offset of the middle led to main hud		(140) < +/- 1000>
isExtraGaugeLeft=0;	Left side (1), Above (0) <0-1>

;NOT ACCESSABLE WITH THE INGAME MOD MENU
[CONSTANTS]
ledSeg1R=0;		RPM LED SEGMENT 1 COLOR R			(  0) <0-100>
ledSeg1G=100;		RPM LED SEGMENT 1 COLOR G			(100) <0-100>
ledSeg1B=0;		RPM LED SEGMENT 1 COLOR B			(  0) <0-100>
ledSeg2R=100;		RPM LED SEGMENT 2 COLOR R			(100) <0-100>
ledSeg2G=100;		RPM LED SEGMENT 2 COLOR G			(100) <0-100>
ledSeg2B=0;		RPM LED SEGMENT 2 COLOR B			(  0) <0-100>
ledSeg3R=100;		RPM LED SEGMENT 3 COLOR R			(100) <0-100>
ledSeg3G=0;		RPM LED SEGMENT 3 COLOR G			(  0) <0-100>
ledSeg3B=0;		RPM LED SEGMENT 3 COLOR B			(  0) <0-100>

picMaxMphVel0 = 2475;
picMaxMphVel1 = 3375;
picMaxMphVel2 = 4500;
picMaxMphDeg0 = 0;
picMaxMphDeg1 = 100;
picMaxMphDeg2 = 350;

picMaxKmhVel0 = 2475;
picMaxKmhVel1 = 3375;
picMaxKmhVel2 = 4500;
picMaxKmhDeg0 = 0;
picMaxKmhDeg1 = 160;
picMaxKmhDeg2 = 560;

picMaxKnoVel0 = 2475;
picMaxKnoVel1 = 3375;
picMaxKnoVel2 = 4500;
picMaxKnoDeg0 = 0;
picMaxKnoDeg1 = 80;
picMaxKnoDeg2 = 330;

picCarFastMphVel0 = 2475;
picCarFastMphVel1 = 3375;
picCarFastMphVel2 = 4500;
picCarFastMphDeg0 = 20;
picCarFastMphDeg1 = 80;
picCarFastMphDeg2 = 280;

picCarFastKmhVel0 = 2475;
picCarFastKmhVel1 = 3375;
picCarFastKmhVel2 = 4500;
picCarFastKmhDeg0 = 20;
picCarFastKmhDeg1 = 100;
picCarFastKmhDeg2 = 400;

picCarSlowMphVel0 = 2475;
picCarSlowMphVel1 = 3825;
picCarSlowMphVel2 = 4500;
picCarSlowMphDeg0 = 0;
picCarSlowMphDeg1 = 90;
picCarSlowMphDeg2 = 180;

picCarSlowKmhVel0 = 2475;
picCarSlowKmhVel1 = 3825;
picCarSlowKmhVel2 = 4500;
picCarSlowKmhDeg0 = 0;
picCarSlowKmhDeg1 = 120;
picCarSlowKmhDeg2 = 300;

picLinFastMphVel0 = 2475;
picLinFastMphVel1 = 4500;
picLinFastMphVel2 = 4500;
picLinFastMphDeg0 = 0;
picLinFastMphDeg1 = 120;
picLinFastMphDeg2 = 120;

picLinFastKmhVel0 = 2475;
picLinFastKmhVel1 = 4500;
picLinFastKmhVel2 = 4500;
picLinFastKmhDeg0 = 0;
picLinFastKmhDeg1 = 180;
picLinFastKmhDeg2 = 180;

picLinFastKnoVel0 = 2475;
picLinFastKnoVel1 = 4500;
picLinFastKnoVel2 = 4500;
picLinFastKnoDeg0 = 0;
picLinFastKnoDeg1 = 100;
picLinFastKnoDeg2 = 100;

picLinSlowMphVel0 = 2475;
picLinSlowMphVel1 = 4500;
picLinSlowMphVel2 = 4500;
picLinSlowMphDeg0 = 0;
picLinSlowMphDeg1 = 60;
picLinSlowMphDeg2 = 60;

picLinSlowKmhVel0 = 2475;
picLinSlowKmhVel1 = 4500;
picLinSlowKmhVel2 = 4500;
picLinSlowKmhDeg0 = 0;
picLinSlowKmhDeg1 = 90;
picLinSlowKmhDeg2 = 90;

picLinSlowKnoVel0 = 2475;
picLinSlowKnoVel1 = 4500;
picLinSlowKnoVel2 = 4500;
picLinSlowKnoDeg0 = 0;
picLinSlowKnoDeg1 = 60;
picLinSlowKnoDeg2 = 60;
